Spread Windows Forms 17
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / SparseArray<T> Class / Item Property
The zero-based index of the element to get or set.


In This Topic
    Item Property (SparseArray<T>)
    In This Topic
    Gets or sets the element at the specified index.
    Syntax
    'Declaration
     
    
    Public Default Property Item( _
       ByVal index As Integer _
    ) As T
    'Usage
     
    
    Dim instance As SparseArray(Of T)
    Dim index As Integer
    Dim value As T
     
    instance.Item(index) = value
     
    value = instance.Item(index)
    public T this[ 
       int index
    ]; {get; set;}

    Parameters

    index
    The zero-based index of the element to get or set.

    Property Value

    The element at the specified index.
    See Also